<?php /* Smarty version 2.6.26, created on 2013-09-03 15:14:02
         compiled from collection_detail.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ltpl', 'collection_detail.tpl', 4, false),array('modifier', 'l', 'collection_detail.tpl', 4, false),array('modifier', 'thumb', 'collection_detail.tpl', 17, false),)), $this); ?>
<section class="row clearfix">
	<div class="col-navi clearfix">
		<div class="post col-navi-left six pull-left">
			<?php if ($this->_tpl_vars['cPrev']): ?><h2 class="title border"><img src="<?php echo ((is_array($_tmp='images/emspo/arrow-prev.png')) ? $this->_run_mod_handler('ltpl', true, $_tmp) : smarty_modifier_ltpl($_tmp)); ?>
" /> <a href="<?php echo ((is_array($_tmp='collection/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['cPrev']['col_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['cPrev']['col_id'])); ?>
"><?php echo $this->_tpl_vars['cPrev']['col_title']; ?>
</a></h2><div class="bg"></div>
			<?php endif; ?>
		</div>
		
		<div class="post col-navi-right six pull-right">
			<?php if ($this->_tpl_vars['cNext']): ?><h2 class="title border"><a href="<?php echo ((is_array($_tmp='collection/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['cNext']['col_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['cNext']['col_id'])); ?>
"><?php echo $this->_tpl_vars['cNext']['col_title']; ?>
</a> <img src="<?php echo ((is_array($_tmp='images/emspo/arrow-next.png')) ? $this->_run_mod_handler('ltpl', true, $_tmp) : smarty_modifier_ltpl($_tmp)); ?>
" /></h2><div class="bg"></div><?php endif; ?>
		</div>
	</div>
	
	<div id="slideshow" class="twelve">
		<div class="post column pull-left nine">
			<ul class="slide-list">
				<?php $_from = $this->_tpl_vars['col']['col_images']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['img']):
?>
				<li id="slide-<?php echo $this->_tpl_vars['id']; ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['img']['image_path'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 's970x646') : smarty_modifier_thumb($_tmp, 's970x646')); ?>
" rel="<?php echo $this->_tpl_vars['id']; ?>
" class="photoTag" /></li>
				<?php endforeach; endif; unset($_from); ?>
			</ul>
		</div>
		
		<div class="post column pull-left three nano slide-thumb">
			<div class="content"><ul class="clearfix">
				<?php $_from = $this->_tpl_vars['col']['col_images']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['slide'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['slide']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['img']):
        $this->_foreach['slide']['iteration']++;
?>
				<li <?php if (($this->_foreach['slide']['iteration']-1) == 0): ?>class='active'<?php endif; ?>><a href="#slide-<?php echo $this->_tpl_vars['id']; ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['img']['image_path'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 'h75') : smarty_modifier_thumb($_tmp, 'h75')); ?>
" /></a></li>
				<?php endforeach; endif; unset($_from); ?>
			</ul></div>
		</div>
	</div>
</section>

<section class="row clearfix">
	<h2 class="col-other-title"><span>Các bộ sưu tập khác</span></h2>
	<?php $_from = $this->_tpl_vars['aCol']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['col']):
?>
	<div class="post three column">
		<div class="prd-item col-item">
			<div class="post-image"><a href="<?php echo ((is_array($_tmp='collection/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['col']['col_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['col']['col_id'])); ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['col']['col_thumb'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 'w227') : smarty_modifier_thumb($_tmp, 'w227')); ?>
" /></a></div>
			<div class="post-container">
				<h2 class="prd-title"><a href="<?php echo ((is_array($_tmp='collection/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['col']['col_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['col']['col_id'])); ?>
"><?php echo $this->_tpl_vars['col']['col_title']; ?>
</a></h2>
			</div>
		</div>
	</div>
	<?php endforeach; endif; unset($_from); ?>
</section>

<?php echo '
<script>
$(\'.photoTag\').jQueryNotes({
	minWidth: \'10%\',
	minHeight: 20,
	helper: \'helper-class\',
	operator: PG_URL+\'collection/tag\',
	autocomplete: PG_URL+\'product/ajax\'
 });
</script>
'; ?>